/* style.css */

/* 通用布局样式 */
body {
    font-family: 'Arial', sans-serif;
    background-color: #f4f4f9;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

h1, h2 {
    color: #333;
    font-weight: 600;
}

/* 页头样式 */
header {
    background-color: #007bff;
    color: #fff;
    text-align: center;
    padding: 20px 0;
    font-size: 24px;
}

/* 页面主内容区域 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* 表单样式 */
form {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

form input[type="text"],
form input[type="date"],
form button {
    width: 100%;
    padding: 12px;
    margin: 8px 0;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

form button {
    background-color: #28a745;
    color: white;
    cursor: pointer;
    border: none;
    transition: background-color 0.3s;
}

form button:hover {
    background-color: #218838;
}

/* 表格样式 */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

table th, table td {
    padding: 12px;
    text-align: left;
    border: 1px solid #ddd;
}

table th {
    background-color: #007bff;
    color: white;
}

table tr:nth-child(even) {
    background-color: #f9f9f9;
}

table tr:hover {
    background-color: #f1f1f1;
}

/* 搜索结果区样式 */
.search-results {
    margin-top: 40px;
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.search-results h2 {
    margin-bottom: 20px;
}

/* 响应式设计 */
@media screen and (max-width: 768px) {
    .container {
        padding: 10px;
    }

    table, form {
        width: 100%;
    }
}
